/*
========================================================================
 Name        : ImageWithTextAppUi.h
 Author      : 
 Copyright   : Your copyright notice
 Description : 
========================================================================
*/
#ifndef IMAGEWITHTEXTAPPUI_H
#define IMAGEWITHTEXTAPPUI_H

#include <aknviewappui.h>

class CImageWithTextContainerView;

/**
 * @class	CImageWithTextAppUi ImageWithTextAppUi.h
 * @brief The AppUi class handles application-wide aspects of the user interface, including
 *        view management and the default menu, control pane, and status pane.
 */
class CImageWithTextAppUi : public CAknViewAppUi
	{
public: 
	// constructor and destructor
	CImageWithTextAppUi();
	virtual ~CImageWithTextAppUi();
	void ConstructL();

public:
	// from CCoeAppUi
	TKeyResponse HandleKeyEventL(
				const TKeyEvent& aKeyEvent,
				TEventCode aType );

	// from CEikAppUi
	void HandleCommandL( TInt aCommand );
	void HandleResourceChangeL( TInt aType );

	// from CAknAppUi
	void HandleViewDeactivation( 
			const TVwsViewId& aViewIdToBeDeactivated, 
			const TVwsViewId& aNewlyActivatedViewId );

private:
	void InitializeContainersL();

private: 
	CImageWithTextContainerView* iImageWithTextContainerView;
	
	};

#endif // IMAGEWITHTEXTAPPUI_H			
